package com.example.springboot.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.springboot.entity.SysRole;
import com.example.springboot.entity.vo.AssignParm;
import com.example.springboot.entity.vo.AssignVo;

public interface SysRoleService {
    int addnew(SysRole sysRole);

    int deleteRole(Integer roleId);

    Page find(Integer pageNum, Integer pageSize, String search);

    int updateRole(SysRole sysRole);

    //角色权限的数据回显
    AssignVo getAssignShow(AssignParm parm);
}
